using MicroMsg.Common.Utils;
using Microsoft.Phone.Info;
using System;
namespace MicroMsgBackground.Protocol
{
	public class ConstantsProtocol
	{
		public const int MM_INVALID_RETCODE = -99;
		public const int MM_INVALID_SYNCKEY = -99;
		public const int MM_INVALID_UIN = 0;
		public const int MM_INVALID_CLIENT_VERSION = 0;
		public const byte[] MM_INVALID_KEYBUF = null;
		public const long MM_INVALID_SELECTOR = 0L;
		public const byte[] MM_INVALID_NEWINIT_KEY = null;
		public const byte[] MM_INVALID_MAX_NEWINIT_KEY = null;
		public const int MM_SCENE_NOTSET = 0;
		public const int MM_SCENE_MANUALAUTH = 1;
		public const int MM_SCENE_AUTOAUTH = 2;
		public const int MM_SCENE_NORMALINIT = 3;
		public const int MM_SCENE_UPDATEINIT = 4;
		public const int MM_SCENE_REGINIT = 7;
		public const int MM_DATA_TYPE_CUP = 10;
		public const int MM_DATA_PRIVATEMSG = 10;
		public const int MM_DATA_CHATROOMMSG = 20;
		public const int MM_DATA_EMAILMSG = 30;
		public const int MM_DATA_TEXT = 1;
		public const int MM_DATA_HTML = 2;
		public const int MM_DATA_IMG = 3;
		public const int MM_DATA_PRIVATEMSG_TEXT = 11;
		public const int MM_DATA_PRIVATEMSG_HTML = 12;
		public const int MM_DATA_PRIVATEMSG_IMG = 13;
		public const int MM_DATA_CHATROOMMSG_TEXT = 21;
		public const int MM_DATA_CHATROOMMSG_HTML = 22;
		public const int MM_DATA_CHATROOMMSG_IMG = 23;
		public const int MM_DATA_EMAILMSG_TEXT = 31;
		public const int MM_DATA_EMAILMSG_HTML = 32;
		public const int MM_DATA_EMAILMSG_IMG = 33;
		public const int MM_DATA_VOICEMSG = 34;
		public const int MM_DATA_PUSHMAIL = 35;
		public const int MM_DATA_QMSG = 36;
		public const int MM_DATA_VERIFYMSG = 37;
		public const int MM_DATA_PUSHSYSTEMMSG = 38;
		public const int MM_DATA_QQLIXIANMSG_IMG = 39;
		public const int MM_DATA_POSSIBLE_FRIEND_MSG = 40;
		public const int MM_DATA_PUSHSOFTWARE = 41;
		public const int MM_DATA_SHARECARD = 42;
		public const int MM_DATA_VIDEO = 43;
		public const int MM_DATA_VIDEO_IPHONE_EXPORT = 44;
		public const int MM_DATA_GMAIL_PUSHMAIL = 45;
		public const int MM_DATA_EMPTY = 46;
		public const int MM_DATA_EMOJI = 47;
		public const int MM_DATA_LOCATION = 48;
		public const int MM_DATA_STATREPORT = 9998;
		public const int MM_DATA_SYS = 10000;
		public const int MM_DOMAINEMAIL_NOTVERIFY = 1;
		public const int MM_DOMAINEMAIL_VERIFIED = 2;
		public const int MM_NOTIFY_CLOSE = 0;
		public const int MM_NOTIFY_OPEN = 1;
		public const int MM_DELFLAG_EXIST = 1;
		public const int MM_DELFLAG_DEL = 2;
		public const int MM_MICROBLOG_QQ = 1;
		public const int MM_FUNCTIONSWITCH_PUSHMAIL = 1;
		public const int MM_FUNCTIONSWITCH_OPEN = 1;
		public const int MM_FUNCTIONSWITCH_CLOSE = 2;
		public const int MM_IMGSTATUS_NOIMG = 1;
		public const int MM_IMGSTATUS_HASIMG = 2;
		public const int MM_QQMAIL_UNINSTALL = 1;
		public const int MM_PM_UNINSTALL = 2;
		public const int MM_FM_UNINSTALL = 4;
		public const int MM_WEIBO_UNINSTALL = 8;
		public const int MM_MEDIANOTE_UNINSTALL = 16;
		public const int MM_QMSG_UNINSTALL = 32;
		public const int MM_BOTTLE_UNINSTALL = 64;
		public const int MM_QSYNC_UNISTALL = 128;
		public const int MM_SHAKE_UNISTALL = 256;
		public const int MM_LBS_UNISTALL = 512;
		public const int MM_PKT_HEADER_LEN = 16;
		public const int MM_PKT_VERSION = 1;
		public const int MM_FRIENDTYPE_QQ = 0;
		public const int MM_FRIENDTYPE_BLOG = 1;
		public const int MM_FRIENDTYPE_EMAIL = 2;
		public const int MM_FRIENDTYPE_WEIXIN = 3;
		public const int MM_FRIENDTYPE_SMS = 4;
		public const int MM_CONTACT_NONE = 0;
		public const int MM_CONTACT_WEIXIN = 1;
		public const int MM_CONTACT_QQMICROBLOG = 2;
		public const int MM_CONTACT_CHATROOM = 3;
		public const int MM_CONTACT_EMAIL = 4;
		public const int MM_CONTACT_QQ = 5;
		public const int QQMAIL_APP_MAGIC_MIN_XP = 512;
		public const int QQMAIL_BYTEORDER_XP = 1234;
		public const int QQMAIL_MESSAGE_HEAD_STRUCTURE_HEADLEN = 32;
		public const int RBRTS_RETCODE = 1;
		public const int RBRTS_RESP = 2;
		public const int TLV_FIXED_TL_SIZE = 0;
		public const int TLV_VARIABLE_TL_SIZE = 1;
		public const int NMXPRC_OK = 0;
		public const int NMXPRC_ERR_GENERAL = -1;
		public const int NMXPRC_ERR_NOMEM = -2;
		public const int NMXPRC_ERR_INVALID_ARG = -3;
		public const int NMXPRC_ERR_DATA = -4;
		public const int TLVPRC_OK = 0;
		public const int TLVPRC_ERR_NO_MEMORY = -1;
		public const int TLVPRC_ERR_INIT = -2;
		public const int TLVPRC_ERR_SIZE_TOO_LARGE = -3;
		public const int TLVPRC_ERR_INVALID_ARG = -4;
		public const int TLVPRC_ERR_PACK_CORRUPTED = -5;
		public const int TLVPRC_ERR_NOT_FOUND = -6;
		public const int TLVPRC_ERR_BUF_TOO_SMALL = -7;
		public const int TLVPRC_ERR_INVALID_MODE = -8;
		public const short NOTECOMPRESS_PACK_VERSION_1 = 1001;
		public const short NOTECPR_ZLIB_COMPRESS = 1;
		public const short NOTECPR_NO_COMPRESS = 2;
		public const short NULL_ENCRYPT = 0;
		public const short RSA_ENCRYPT_WITH_PUBLICKEY = 1;
		public const short RSA_DECRYPT_WITH_PRIVATEKEY = 2;
		public const short DES_ENCRYPT_WITH_PUBLICKEY = 3;
		public const short DES_DECRYPT_WITH_PRIVATEKEY = 4;
		public const short AES_DECRYPT_WITH_PRIVATEKEY = 5;
		public const int MM_SENDCARD_QQBLOG = 1;
		public const int MM_SENDCARD_QQSIGN = 2;
		public const int MM_SENDCARD_QZONE = 4;
		public const int MM_SENDCARD_QQFRIEND = 8;
		public const int MM_SENDCARD_SINABLOG = 16;
		public const int MM_SENDCARD_MODIFYHEADIMG = 32;
		public const int MM_MEMBER_OK = 0;
		public const int MM_MEMBER_NOUSER = 1;
		public const int MM_MEMBER_USERNAMEINVALID = 2;
		public const int MM_MEMBER_BLACKLIST = 3;
		public const int MM_MEMBER_NEEDVERIFYUSER = 4;
		public const int MM_SENDMSG_SENDING = 1;
		public const int MM_SENDMSG_SENDED = 2;
		public const int MM_SENDMSG_DELIVER = 3;
		public const int MM_SENDMSG_READ = 4;
		public const int MM_SENDMSG_FAILED = 5;
		public const int MM_UPDATEMCONTACT_ADD = 1;
		public const int MM_UPDATEMCONTACT_DEL = 2;
		public const int MM_PACKAGE_THEME = 0;
		public const int MM_PACKAGE_SESSION_BACKGROUND = 1;
		public const int MM_PACKAGE_EMOJIART = 2;
		public const int MM_PACKAGE_RESOURCE = 3;
		public const int MM_PACKAGE_ALBUM = 4;
		public const int MM_ADDSCENE_LBS = 18;
		public const int MM_ADDSCENE_PF_MOBILE_REVERSE = 21;
		public const int MM_ADDSCENE_PF_SHAKE_PHONE_PAIR = 22;
		public const int MM_ADDSCENE_PF_SHAKE_PHONE_GROUP = 23;
		public const int MM_ADDSCENE_PF_SHAKE_PHONE_OPPSEX = 24;
		public const int MM_ADDSCENE_BOTTLE = 25;
		public const int MM_ADDSCENE_SHAKE_SCENE1 = 26;
		public const int MM_ADDSCENE_SHAKE_SCENE2 = 27;
		public const int MM_ADDSCENE_SHAKE_SCENE3 = 28;
		public const int MM_ADDSCENE_SHAKE_SCENE4 = 29;
		public const int MM_ADDSCENE_QRCODE = 30;
		public const int MM_BOTTLE_TEXT = 1;
		public const int MM_BOTTLE_IMG = 2;
		public const int MM_BOTTLE_VOICE = 3;
		public const int MM_BOTTLE_VIDEO = 4;
		public const int MM_BOTTLE_PICKCOUNTINVALID = 19;
		public const string MM_AUTHBYFACEBOOK_USERNAME = "facebook@wechat_auth";
		public static string LBS_INFO = "";
		public static readonly string DEVICE_TYPE_CONST = string.Concat(new object[]
		{
			"wp7 ",
			DeviceStatus.get_DeviceName(),
			"_",
			Environment.get_OSVersion().get_Version()
		});
		public static string DEVICE_TYPE = ConstantsProtocol.DEVICE_TYPE_CONST + ConstantsProtocol.LBS_INFO;
		public static uint CLIENT_VERSION
		{
			get
			{
				return VersionHelper.getProtocolVersion();
			}
		}
	}
}
